<!--<?php
# MetInfo Enterprise Content Management System 
# Copyright (C) MetInfo Co.,Ltd (http://www.metinfo.cn). All rights reserved.
require_once template('head');

echo <<<EOT
-->
<title>{$lang_listTitle}</title>
</head>
<body>
<!--
EOT;
if($action=="modify"){
echo <<<EOT
-->
<table cellpadding="2" cellspacing="1" border="0" width="95%" class="table_list1">
          <tr> 
            <td align="center" class="list1_title">{$lang_listTitle} [$bigid_info[name]]</td>
          </tr>
          <tr>
            <td class="list1_input">
			  <form method="POST" name="myform"  action="list.php?action=editor&id=$id&bigid=$bigid" onSubmit="return CheckForm_skin();" target="_self">
			  <input name="lang" type="hidden" value="$lang" >
			  <input name="module" type="hidden" value="$bigid_info[module]" >
			  <a href="list.php?lang=$lang&bigid=$bigid"><b>{$lang_listManage}</b></a>
			  <br />

  {$lang_sort}
  <input name="no_order" type="text" size="3" value="$fdlist_m[no_order]">
{$lang_name}
<input name="info" type="text" size="20" value="$fdlist_m[info]" >
  <input type="submit" name="Submit2" value="{$lang_modify}" class="tj">  
	        </form>
			    </td>
          </tr>
		  <tr>
		  <td class="list1_footer" colspan="2" align="center">$foot</td>
	  </tr>
</table>
</body>
</html>
<!--
EOT;
}
else{
echo <<<EOT
-->
<table cellpadding="2" cellspacing="1" border="0" width="95%" class="table_list1">
          <tr> 
            <td colspan="6" align="center" class="list1_title">{$lang_listTitle} [$bigid_info[name]]</td>
          </tr>
          <tr>
            <td class="list1_input" colspan="6">
<!--
EOT;
if($listmarknow<>'metinfo'){
echo <<<EOT
--> 
			  <form method="POST" name="myform"  action="list.php?bigid=$bigid&action=add" onSubmit="return CheckForm_skin();" target="_self">
			  <input name="lang" type="hidden" value="$lang" >
			  <input name="module" type="hidden" value="$bigid_info[module]" >
			  <span><b>{$lang_listAddList}</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
			    {$lang_sort}
  <input name="no_order" type="text" size="3">
			   {$lang_name}
			    <input name="info" type="text" size="20" value="" >
  <input type="submit" name="Submit2" value="{$lang_add}" class="tj">  
	        </form>
<!--
EOT;
}
if($bigid_info[module]==8){
$metlistrele[$listinfo[info]]="selected='selected'";
echo <<<EOT
--> 
	<form method="POST" name="myform"  action="list.php?bigid=$bigid&action=add&listproduct=metinfo"  target="_self">
			  <input name="lang" type="hidden" value="$lang" >
			  <input name="module" type="hidden" value="$bigid_info[module]" >
			  <span><b>{$lang_listproductre}</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
			  <input name="no_order" type="hidden" value="99999">
			  <select name="info">
			  <option value="0" $metlistrele[0]>$lang_listproductreok</option>
			  <option value="metinfoall" $metlistrele[metinfoall]>$lang_allcategory</option>
<!--
EOT;
foreach($met_classindex[3] as $key=>$val){
echo <<<EOT
--> 
    <option value="$val[id]" {$metlistrele[$val[id]]}>$val[name]</option>
<!--
EOT;
foreach($met_class22[$val[id]] as $key=>$val2){
echo <<<EOT
--> 
    <option value='$val2[id]' style="color:#000099" {$metlistrele[$val2[id]]}>&nbsp;&nbsp;- $val2[name]</option>
<!--
EOT;
foreach($met_class3[$val2[id]] as $key=>$val3){
echo <<<EOT
--> 
    <option value='$val3[id]' style="color:#FF0000" {$metlistrele[$val3[id]]}>&nbsp;&nbsp;&nbsp;-- $val3[name]</option>
<!--
EOT;
}}}
echo <<<EOT
--> 
			  </select>
  <input type="submit" name="Submit2" value="{$lang_Submit}" class="tj">  
	        </form>
<!--
EOT;
}
echo <<<EOT
--> 			
			
			</td>
          </tr>
              <tr>
<!--
EOT;
if($listmarknow<>'metinfo'){
echo <<<EOT
--> 
                <td class="list1_top" align="center" width="5%">{$lang_selected}</td>
                <td width="5%" class="list1_top" align="center">{$lang_sort}</td>
                <td width="20%" class="list1_top" align="center" >{$lang_name}</td>
				<td width="10%" class="list1_top" align="center" >{$lang_operate}</td>
              </tr>
			  <form name="del" method="Post" action="list.php?action=delete&lang=$lang" onSubmit="return ConfirmDelall();">
<!--
EOT;
foreach ($fd_list as $key=>$val){
echo <<<EOT
-->          
              <tr>
              <td class="list1_content_titile" align="center"><input name='id' type='checkbox' onClick="unselectall()" id="id" value='$val[id]' class="xz"></td>
                <td align="center" class="list1_content">$val[no_order]</td>
                <td class="list1_content" align="center">$val[info]</td>
				<td align="center" class="list1_content" style="color:#0066FF;"><a href="list.php?bigid=$val[bigid]&id=$val[id]&action=modify&lang=$lang" >{$lang_editor}</a> | <a href="list.php?bigid=$val[bigid]&id=$val[id]&action=delete&lang=$lang" onClick="return ConfirmDel();" >{$lang_delete}</a></td>
              </tr>
<!--
EOT;
}
echo <<<EOT
-->
       
   
   	   <tr> 
            <td align="center" class="input_bottom"><input name="chkAll" class="xz" type="checkbox" id="chkAll" onclick=CheckAll(this.form) value="checkbox"></td>
              <td align="center" class="input_bottom">{$lang_selectall}</td> 
			  <td align="left" class="input_bottom" colspan="4"><input name="submit" type='submit' value='{$lang_deleteselected}' style="*padding-top:4px;"> 
              <input name="action_type" type="hidden" id="action_type" value="del">
			  <input name="allid" type="hidden" id="allid" value=""></form></td>
          </tr>
<!--
EOT;
}else{
echo <<<EOT
--> 
                <td width="5%" class="list1_top" align="center">{$lang_sort}</td>
                <td width="20%" class="list1_top" align="center" >{$lang_name}</td>
              </tr>
<!--
EOT;
foreach ($fd_list as $key=>$val){
echo <<<EOT
-->          
              <tr>
                <td align="center" class="list1_content_titile">$val[no_order]</td>
                <td class="list1_content" align="center">$val[info]</td>
              </tr>
<!--
EOT;
}}
echo <<<EOT
-->
   	   <tr>
   	     <td colspan="6" align="center" class="list1_input">$page_list</td>
        </tr>
		<tr>
		  <td class="list1_footer" colspan="6" align="center">$foot</td>
	  </tr>
</table>
</body>
</html>
<!--
EOT;
}
# This program is an open source system, commercial use, please consciously to purchase commercial license.
# Copyright (C) MetInfo Co., Ltd. (http://www.metinfo.cn). All rights reserved.
?>-->